package com.tech.cloudapp.exception;

import com.tech.cloudapp.model.CommonResponseDO;
import lombok.Data;

@Data
public class BusinessException extends Exception{


	private CommonResponseDO resultCode;

	public BusinessException(CommonResponseDO resultCode) {
		super(resultCode.getMsg());
		this.resultCode = resultCode;
	}
}
